#include <stdio.h>
#include <time.h>
#include <stdlib.h>
int main(int argc,char *argv[])
{
	if(argc != 2)
	{
		printf("input a interval\n");
		return 1;
	}
	time_t start,interval,temp1 = 0,temp2 = 0;
	interval = atoi(argv[1]);
	temp2 = time(&start);
	printf("%d\n",interval);
	while((temp2 - start) < interval)
	{
		time(&temp1);
		if(temp1 != temp2)
		{
			printf("%d\n",interval - (temp1 - start));
			temp2 = temp1;
		}
	}
	return 0;
}
